import React from 'react'
import '../assets/css/vNav.css'
//引入路由的导航
import {NavLink} from 'react-router-dom'
 class Home extends React.Component{
    render(){
            return (<div className='navInfo'>
                <NavLink activeClassName='select' to='/index/home'>首页</NavLink>
                <NavLink activeClassName='select'  to='/index/cate'>分类</NavLink>
                <NavLink activeClassName='select' to='/index/cart'>购物车</NavLink>
                <NavLink activeClassName='select' to='/index/usercenter'>个人中心</NavLink>
            </div>)
        }
}
 export default Home